﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>FormEditor</title>
    <style type="text/css">
        html,body{height:100%;}
    </style>
    <script src="/Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="/Scripts/myscript/FormEditorHelper.js" type="text/javascript"></script>
    <script src="/Scripts/ckeditor/ckeditor_source.js" type="text/javascript"></script>
    <script src="/Scripts/ckeditor/_source/adapters/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        var step=@Html.Raw(ViewBag.Step);

        window.onload = function () {
            var FormEditor = CKEDITOR.replace("WorkFlowFormEditor");
            FormEditor.on("instanceReady", function (event) {
                event.editor.getCommand('maximize').exec();
            });
        }
    </script>
</head>
<body>
    <textarea id="WorkFlowFormEditor">
        @*<table border="1" cellpadding="4" cellspacing="0" class="tblGrayClass grayBackTable" id="TB_FORM_DATA" style="word-break: break-all">
	        <tbody>
		        <tr>
			        <th style="width: 13%">
				        用户名：</th>
			        <td style="width: 20%;">
				        <input defaultvalue="234" name="用户名" require="true" style="cursor: default;" type="text" value='$!tc.GetValue("用户名")' /></td>
			        <th style="width: 13%">
				        密码：</th>
			        <td style="width: 20%;">
				        <input defaultvalue="password" name="密码" require="true" style="cursor: default;" type="password" value='$!tc.GetValue("密码")' /></td>
			        <th style="width: 13%">
				        验证码：</th>
			        <td style="width: 20%;">
				        <input name="验证码" type="text" value='$!tc.GetValue("验证码")' /></td>
		        </tr>
		        <tr>
			        <th style="width: 13%">
				        开始时间：</th>
			        <td style="width: 20%;">
				        <input name="开始时间" type="text" value='$!tc.GetValue("开始时间")' /></td>
			        <th style="width: 13%">
				        结束时间：</th>
			        <td style="width: 20%;">
				        <input name="结束时间" type="text" value='$!tc.GetValue("结束时间")' /></td>
			        <th style="width: 13%">
				        天数：</th>
			        <td style="width: 20%;">
				        <input name="天数" type="text" value='$!tc.GetValue("天数")' /></td>
		        </tr>
		        <tr>
			        <th style="width: 13%">
				        目的：</th>
			        <td colspan="5" rowspan="1" style="width: 20%;">
				        <textarea cols="80" name="目的" rows="3">$!tc.GetValue("目的")</textarea></td>
		        </tr>
		        <tr>
			        <th style="width: 13%">
				        详细内容：</th>
			        <td colspan="5" rowspan="1" style="width: 20%;">
				        <textarea cols="80" name="详细内容" rows="10">$!tc.GetValue("详细内容")</textarea></td>
		        </tr>
	        </tbody>
        </table>*@
    </textarea>
</body>
</html>
